﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Security.Principal;
using System.Xml.Linq;

namespace COM.Data
{
    public class PermissionException : AppException
    {
        public string PermissionName { get; set; }
        public override string Message
        {
            get
            {
                return string.Format("权限项={0}\r\n{1}", this.PermissionName, base.Message);
            }
        }

        public override string ToString()
        {
            return string.Format("权限项={0}\r\n{1}", this.PermissionName,base.ToString());
        }

    }

}


